package com.smile.service.entity.drc;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import java.math.BigDecimal;

@Data
@ToString
public class DroneControlData {
    private BigDecimal h;
    private Integer seq;
    private BigDecimal w;
    private BigDecimal x;
    private BigDecimal y;


    //    @Min(2)
//    @Max(10)
    @JSONField(name = "freq")
    private Integer freq;

    @JSONField(name = "delay_time")
    private Integer delayTime;
}
